package com.ksyzt.ksite2.test.sms;


public class SendSMS{


	public static void main(String[] args) {
        

		String str=String.format("send %s :{%s} by %s", args[0],args[1],args[2]);
        System.out.println(str);  
        SerialToGsm stg = new SerialToGsm(args[2],115200);

        String sss = new String();
        String alarmNumber = new String(args[0]);
  
       
        sss = stg.sendSms(alarmNumber,args[1] );
  
        System.out.println("sender return code:" + sss);
        }
}